class PersonTicket < ActiveRecord::Base
  belongs_to :order, :class_name => 'PersonOrder', :foreign_key => 'web_order_id'
  belongs_to :from_airport, :class_name => 'Airport', :foreign_key => 'from_id'
  belongs_to :mid_airport, :class_name => 'Airport', :foreign_key => 'mid_id'
  belongs_to :to_airport, :class_name => 'Airport', :foreign_key => 'to_id'
end
